package com.project.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("health_record")
public class HealthRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Integer recordType;  // 1-血压 2-血糖 3-体重 4-体温
    private String recordValue;  // 血压值使用斜杠分隔，如"120/80"
    private LocalDateTime measureTime;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
